package com.xwb.mapper;

import java.util.ArrayList;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.xwb.pojo.Book;
import com.xwb.pojo.Cartoon;
import com.xwb.pojo.Review;

@Mapper
public interface CartoonMapper {
	ArrayList<Cartoon> list();
	Cartoon findByid(Integer cid);
	void updatawant(@Param("cid")Integer cid,@Param("cwant")Integer cwant);
	void addreview(Review review);
	ArrayList<Review> findreviewByid(Integer cid);
}
